<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?python
import sitetemplate
from worde import plugins
from cherrypy import request
?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" py:extends="sitetemplate">

<head py:match="item.tag=='{http://www.w3.org/1999/xhtml}head'" py:attrs="item.items()">
  <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
  <title py:replace="''">Your title goes here</title>
  <meta py:replace="item[:]"/>
  <style type="text/css" media="screen">
    @import "/static/css/style.css";
  </style>
</head>

<body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">
 <div id="wrap">
  <div id="branding">
    <h1>${tg.get_config("blog title")}</h1>
  </div>
  <div id="content">
    <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>
    <div py:replace="[item.text]+item[:]"/>
    <div id="content-extra">
    <ol>
      <li py:for="box in plugins.sidebox(request)">
        ${XML(box)}
      </li>
    </ol>
  </div>
  <div id="siteinfo">
    ${tg.get_config("copyright info")}
  </div>
  </div>
  </div>
</body>
</html>